package com.bjpowernode.boss.mvc.service;

import com.bjpowernode.boss.mvc.models.dto.operator.LoginResponseDto;
import com.bjpowernode.boss.mvc.models.form.operator.LoginForm;
import com.bjpowernode.boss.mvc.models.menus.SubMenu;

import java.util.List;

/**
 * @author yu
 * @date 2024/7/7 10:28
 */
public interface OperatorService {
    /**
     * 操作员登录
     *
     * @param loginForm 登录的名称和密码
     * @return jwt和showName，放在LoginResponseDto里
     */
    LoginResponseDto operatorLogin(LoginForm loginForm) ;

    List<SubMenu> getMenusByLoginOperator(Long operatorId);
}
